package com.epam.training.concurrency.first.task5;

/**
 * 
 * @author Bogdan
 *
 */
public class Test {

	private Test() {

	}

	public static void main(String[] args) {
		ThreadPool pool = new ThreadPool(5);
		for (int i = 0; i < 1000; i++) {
			pool.execute(new TestThread(i));
		}

		pool.start();
	}
}
